package com.neusoft.pojo;

import lombok.*;
import org.apache.kafka.common.protocol.types.Field;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@EqualsAndHashCode
public class WaterSensor {
    public String id;
    public Long ts;
    public Integer vc;

    public WaterSensor(String id, String ts, String vc) {
        this.id = id;
        this.ts = Long.valueOf(ts);
        this.vc = Long.valueOf(vc).intValue();
    }

}
